package com.fcscs.cservice.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fcscs.core.service.FcsManager;
import com.fcscs.cservice.dao.GuestCronJobDao;
import com.fcscs.cservice.dao.MiscCronJobDao;
import com.fcscs.cservice.service.CronJobManager;

@Service("cronJobManagerImpl")
public class CronJobManagerImpl extends FcsManager implements CronJobManager {
	
	@Autowired
	GuestCronJobDao guestDao;
	
	@Autowired
	MiscCronJobDao miscDao;

	@Override
	public void atomicBatchUpdate(Map<String, Object> params) {
		guestDao.atomicBatchUpdate(params);
		miscDao.atomicBatchUpdate(params);
	}

}
